home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950726-19950929
/
000095_news@columbia.edu_Sat Aug 5 07:54:34 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA12991
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sun, 6 Aug 1995 05:59:42 -0400
Received: by apakabar.cc.columbia.edu id AA19130
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sun, 6 Aug 1995 05:59:41 -0400
Path: news.columbia.edu!news.cs.columbia.edu!pipeline!uunet!in2.uu.net!news.sprintlink.net!newsfeed.internetmci.com!news.mathworks.com!news.kei.com!nntp.et.byu.edu!news.byu.edu!hamblin.math.byu.edu!park.uvsc.edu!news.provo.novell.com!news.cs.utah.edu!cc.usu.edu!jrd
From: jrd@cc.usu.edu (Joe Doupnik)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: HELP: dynamicaly assigned address
Message-Id: <1995Aug5.135434.58145@cc.usu.edu>
Date: 5 Aug 95 13:54:34 MDT
References: <3vvuv0$mh7@news.csie.nctu.edu.tw>
Organization: Utah State University
Lines: 44
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <3vvuv0$mh7@news.csie.nctu.edu.tw>, jou@nematic.ieo.nctu.edu.tw (Wei-Jou Chen) writes:
> Hello,
>
> There is a text which shows the login title in our school.
>
> **************************************************************
> * *
> * Welcome to TANET dialup service at Hsin-Chu *
> * *
> **************************************************************
>
>
>
> 0: Telnet
> 1: alumni (140.126.237.200)
> 2: educator (140.126.237.201)
> 3: csiebbs (140.113.17.154)
> 4: cisbbs (140.113.23.3)
> 5: eebbs (140.113.218.1)
> 6: PPP
> 7: SLIP
> 8: Exit
>
>
>
> Enter your choice:
>
> If I enter '7', I got the following two lines.
>
> Switching to SLIP.
> Annex address is 140.126.237.3. Your address is 140.126.237.109.
>
> The addresses are dynamical assigned. How can I get the addresses by using
> kermit script ?
-------------
You should write a Kermit script which uses the INPUT command to
look for the string of interest (say Your address is) and then manipulate
the \v(input) line (should have the whole line above). String commands
can then strip the unwanted parts. Put the result into the SET TCP ADDRESS
command. These items are discussed in the user's manual, the book
"Using MS-DOS Kermit."
The next MSK release will have a specific screen scraper command
to locate IP address numbers.
Joe D.